package com.TaskOrganizer.gui;

import javax.swing.JButton;
import javax.swing.JPanel;

import com.TaskOrganizer.core.AppCore;

public class MainPanel extends JPanel {

	private static final long serialVersionUID = -4040773742581475306L;
	private JButton addTask, listTasks, backup;

	public MainPanel() {
		addTask = new JButton(AppCore.getInstance().getActionManager()
				.getAddTaskAction());
		listTasks = new JButton(AppCore.getInstance().getActionManager()
				.getListTasksAction());
		backup = new JButton(AppCore.getInstance().getActionManager()
				.getBackupAction());

		this.add(addTask);
		this.add(listTasks);
		this.add(backup);
	}
}
